javascript strings

String length

Escape characters

javascript strings as object

never ever create a string as object

Extracting string parts

1.slice(start, end)
2. substring (start, end)
3. substr(start, end)

javascript string methods

the slice() method extract the part of a string

the slice() method extract the part of a string with negative parameter

the substring() method extract a part of a string and return the extracted string into new one

the substr() method extract a part of a string and return the extracted string into new one

Replacing the String Content

Repalce function works by replace()

Please visit sharad youtube channel

Converting Uppercase letter to lowercase letter

convert string to uppercase

hello sharad bhai

convert string to lowercase

HELLO SHARAD KHARE

javascript string concatination concat()

the concat() method join 2 or more strings

javascript string trim()